package test_try;

import static java.lang.Integer.parseInt;

//public class Solution {
//    /**
//     * @param str: represents the string passed in
//     * @return: represents the return of a character with index position 1
//     */
////    public char getIndexOne(String str) {
////        // write your code here
//////        str = str.toCharArray();
////        return str.toCharArray()[1];
////    }
//
//}
public class Solution{
    /**
     * @param str : String type numbers
     * @return A rounded number
     */
    public int get(String str) {
        // write your code here
//        int num = parseInt(str);
        HandleAble hda = new HandleAble(){
            public int handle(String num){

                return (int)(Double.parseDouble(num));
            }
        };
        return hda.handle(str);
    }
}